ExamPlay Light Logo
Zalogować się

Computer Science for IGCSE & O level - Programming (Section 13 - No. 43)

In a nested IF-ELSE structure, how are the inner blocks of code related to the outer structure?
The inner block executes independently of the outer block.
The execution of the inner block depends on the condition of the outer block.
The outer block's execution depends on the condition of the inner block.
There is no relation between them.

Wyjaśnienie

The inner block is only executed if its parent condition is true.

Uwagi (0)

Zaloguj się, aby skomentować
Reklama
BrainBehindX Inc Logo
©2026; Obsługiwane przez BrainBehindX Inc